#import "LullabyVelvetView.h"


@implementation LullabyVelvetView



- (void)setZealVivid:(LullabyVelvetModel *)zealVivid {
	_zealVivid = zealVivid;

	//: 配置cell的UI



}
//: self.rippleKnotHarmonyButton 的点击事件
- (void)action_0 {}

//: 设置self.idealImageView的圆角
+ (void)marvelBinary:(UIImageView *)quicksilverHarmonyXerox archive:(CGFloat)kaleidoscope {
	quicksilverHarmonyXerox.layer.cornerRadius = kaleidoscope;
	quicksilverHarmonyXerox.layer.masksToBounds = YES;
}

- (UIView *)binaryVelvetView {
	if (!_binaryVelvetView) {
	
        _binaryVelvetView = [[UIView alloc] init];
        _binaryVelvetView.frame = CGRectMake(17, 9, 139, 196);
	}
	return _binaryVelvetView;
}

- (UITextField *)euphoriaMelancholyTextField {
	if (!_euphoriaMelancholyTextField) {
	
        _euphoriaMelancholyTextField = [[UITextField alloc] init];
	}
	return _euphoriaMelancholyTextField;
}

//: self.journeyZipperSwoopButton 的点击事件
- (void)action_5 {}

- (UITextField *)quicksilverSuspicionNavigateTextField {
	if (!_quicksilverSuspicionNavigateTextField) {
	
        _quicksilverSuspicionNavigateTextField = [UITextField new];
	}
	return _quicksilverSuspicionNavigateTextField;
}

- (void)nightfallInitUI {

    //: 描述_0
    self.rippleKnotHarmonyButton = [[UIButton alloc] init];
    UIImage *jellyPirate = [UIImage imageNamed:@"images/icon_0.png"];
    if (jellyPirate) {
	    [self.rippleKnotHarmonyButton setImage:jellyPirate forState:UIControlStateNormal];
    }
    [self.rippleKnotHarmonyButton setTitle:@"button_0" forState:UIControlStateNormal];
    [self.rippleKnotHarmonyButton setTitle:@"button_selected_0" forState:UIControlStateSelected];
    [self.rippleKnotHarmonyButton setTitleColor:[UIColor colorWithRed:87/255.0 green:207/255.0 blue:180/255.0 alpha:0.7] forState:UIControlStateNormal];
    [self.rippleKnotHarmonyButton setTitleColor:[UIColor colorWithRed:65/255.0 green:93/255.0 blue:173/255.0 alpha:0.9] forState:UIControlStateSelected];
    [self.rippleKnotHarmonyButton addTarget:self action:@selector(action_0) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.rippleKnotHarmonyButton];
	[self.rippleKnotHarmonyButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(118);
		make.height.mas_equalTo(60);
		make.bottom.equalTo(@(27));
	}];


    //: 描述_1
    self.idealImageView = [UIImageView new];
    self.idealImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.idealImageView.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [LullabyVelvetView marvelBinary:self.idealImageView archive:5];
    UIImage *luminousMarble = [UIImage imageNamed:@"images/image_1.png"];
    if (luminousMarble) {
	    self.idealImageView.image = luminousMarble;
    }
    [self addSubview:self.idealImageView];
	[self.idealImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(52);
		make.height.mas_equalTo(145);
		make.top.equalTo(@(26));
	}];

	//: 描述_2
	[self addSubview:self.binaryVelvetView];

	//: 描述_3
	[self addSubview:self.euphoriaMelancholyTextField];
	[self.euphoriaMelancholyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(168);
		make.height.mas_equalTo(134);
		make.top.equalTo(@(22));
		make.bottom.equalTo(@(24));
	}];


    //: 描述_4
    UITextView *ideal = [UITextView new];
    ideal.size = CGSizeMake(175, 83);
    ideal.left = 19;
    ideal.top = 50;
    self.zephyrPirateTextView = ideal;
    [self addSubview:ideal];


    //: 描述_5
    self.journeyZipperSwoopButton = [[UIButton alloc] init];
    UIImage *jellyUpliftNirvana = [UIImage imageNamed:@"images/icon_5.png"];
    if (jellyUpliftNirvana) {
	    [self.journeyZipperSwoopButton setImage:jellyUpliftNirvana forState:UIControlStateNormal];
    }
    [self.journeyZipperSwoopButton setTitle:@"button_5" forState:UIControlStateNormal];
    [self.journeyZipperSwoopButton setTitle:@"button_selected_5" forState:UIControlStateSelected];
    [self.journeyZipperSwoopButton setTitleColor:[UIColor colorWithRed:207/255.0 green:77/255.0 blue:95/255.0 alpha:0.9] forState:UIControlStateNormal];
    [self.journeyZipperSwoopButton setTitleColor:[UIColor colorWithRed:253/255.0 green:77/255.0 blue:139/255.0 alpha:0.9] forState:UIControlStateSelected];
    [self.journeyZipperSwoopButton addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.journeyZipperSwoopButton];
	[self.journeyZipperSwoopButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(131);
		make.height.mas_equalTo(72);
		make.top.equalTo(@(13));
		make.bottom.equalTo(@(28));
	}];


    //: 描述_6
    self.grinGraciousTextView = [UITextView new];
    self.grinGraciousTextView.frame = CGRectMake(25, 29, 190, 148);
    [self addSubview:self.grinGraciousTextView];

	//: 描述_7
	[self addSubview:self.quicksilverSuspicionNavigateTextField];
	[self.quicksilverSuspicionNavigateTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(134);
		make.height.mas_equalTo(48);
		make.top.equalTo(@(14));
	}];
}


@end